package com.java.boot.bean;

import lombok.*;

/**
 * @author jingjintao
 * @date 2021/7/23 - 22:30
 **/
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class User {

    private String name;
    private Integer age;
    private Pet pet;


    public User(String name, int age) {
        this.name = name;
        this.age = age;
    }
}
